package com.mengdie.shuidi.event;


import com.mengdie.shuidi.model.ModelLine;

/**
 * Created by apple on 16/10/14.
 */

public class LineEvent {

    private String province;

    private String city;
    private String remoteIp;
    private int id;

    private String agreeType;

    private String type;

    private ModelLine modelLine;

    public LineEvent(String province, String city, String ip,
                     int id, String agreeType, String type, ModelLine line) {
        this.province = province;
        this.city = city;
        this.remoteIp = ip;
        this.id = id;
        this.agreeType = agreeType;
        this.type = type;
        this.modelLine = line;
    }


    public ModelLine getModelLine() {
        return modelLine;
    }

    public void setModelLine(ModelLine modelLine) {
        this.modelLine = modelLine;
    }

    public void setAgreeType(String agreeType) {
        this.agreeType = agreeType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }


    public String getRemoteIp() {
        return remoteIp;
    }

    public void setRemoteIp(String remoteIp) {
        this.remoteIp = remoteIp;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAgreeType() {
        return agreeType;
    }

    @Override
    public String toString() {
        return "LineEvent{" +
                "province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", remoteIp='" + remoteIp + '\'' +
                ", id=" + id +
                ", agreeType='" + agreeType + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
